<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>点击消失</title>
		<script type="text/javascript" src="js/jquery-1.11.3.min.js" ></script>
		<script>
			$(document).ready(function(){
				$("p").click(function(){
					$(this).hide();
				});
			});
			$(document).ready(function(){
				$("button").click(function(){
					$("div#test").hide();
				});
			});
		</script>
	</head>
	<body>
		<p>如果您点击我，我会消失。</p>
		<p>点击我，我会消失。</p>
		<p>也要点击我哦。</p>
		<div id="test">This is another paragraph.</div>
		<button type="button">消失</button>
	</body>
</html>
